#pragma once

class GameStats;

#include "manager.h"

class GameStats
{
	unsigned int Points;
	unsigned int PointsOnStart;
	unsigned int Lifes;
	unsigned int LeftTanks;
	unsigned int AliveTanks;
	unsigned int MaxTanks;
	unsigned int CurrentLevel;

	bool TimerRespawn_AI_IsResp;
	bool TimerRespawn_P_IsResp;
	unsigned int TimerRespawn_AI_RespTime;
	unsigned int TimerRespawn_AI_LeftTime;
	unsigned int TimerRespawn_P_RespTime;
	unsigned int TimerRespawn_P_LeftTime;

public:
	GameStats();

	Manager *mgr;
	//void OnLoad(unsigned int pts, unsigned int lvl, unsigned int lifes);
	void Clear();
	//void Save();
	//void Load();
	void NewLevel(unsigned int tanks, unsigned int ai_respawn, unsigned int p_respawn, unsigned int max_ai);
	void Message(Msg* message);
	//void Render();
};
